package com.bishe.demo.modules.hotel.hotelDetail.serivce;

import com.bishe.demo.modules.common.entity.ResultEntity;
import com.bishe.demo.modules.hotel.hotelDetail.entity.Detail;

import java.util.List;

public interface DetailService {
    ResultEntity<Detail> insertDetail(Detail detail);

    List<Detail> getDetails();

    Detail getDetailByHotelId(int hotelId);

    ResultEntity<Detail> updateDetail(Detail detail);

    void deleteDetailByHotelId(int hotelId);
}
